import _axios from "@/plugins/axios";


// 国际运费估算
export function estimateInternational({
    categoryList,
    country,
    high,
    length,
    weight,
    width
}) {
    return _axios({
        // url: '/logistics/estimate/international',
        url: '/logistics/estimate/international2',
        method: 'post',
        data: {
            categoryList,
            country,
            high,
            length,
            weight,
            width
        }
    })
}


// 运费估算-国家列表
export function countryList(firstNameByEn) {
    return _axios({
        url: '/base/logistics/country/list',
        method: 'get',
        params: {
            firstNameByEn
        }
    })
}


// 运费估算-运输商品类别
export function categoryList() {
    return _axios({
        url: '/base/logistics/category/list',
        method: 'get'
    })
}
